﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RMSoftware
{
    public class Tools
    {
        public static string FormatDate(DateTime? input)
        {
            return input == null ? "" : input.Value.Date.ToString().Substring(0, input.Value.Date.ToString().IndexOf(" "));
        }
    }
}